_user="fuml"
_passwd="abc123"

_cnt=3

while _cnt > 0:
    username=input("Username:")
    password=input("Password:")

    if username==_user and password == _passwd :
        print("Welcome %s login.." % _user )
        break
    else:
        print("Invalid username or password.")
        _cnt=_cnt-1

##
##for i in range(_cnt):
##    username=input("Username:")
##    password=input("Password:")
##
##    if username==_user and password == _passwd :
##        print("Welcome %s login.." % _user ) 
##    else:
##        print("Invalid username or password.")
##        i=i+1

##for i in range(1,101):
##    if i % 2 == 0 :
##        print("loop:",i)

for i in range(1,101,2):
        print("loop:",i)
